package com.serkol.driving.learning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.serkol.bean.MyPage;
import com.serkol.driving.learning.entity.QuestionBank;
import com.serkol.driving.learning.handler.QuestionMapResult;

/**
* @author pingan
* @description 针对表【question_bank】的数据库操作Service
* @createDate 2022-06-07 00:16:41
*/
public interface QuestionBankService extends IService<QuestionBank> {

    MyPage findByList(int pageSize, int page);

    QuestionMapResult findByExamList(int langId, int subject, int category);

    MyPage findByExamAllList(int pageSize, int page, int langId, int subject, int category);

    QuestionMapResult findByLearnList(int langId, int type, int subject, int category);
}
